const crypto = require('crypto');

const password = '123456';
const md5 = crypto.createHash('md5');
const hash = md5.update(password).digest('hex');

console.log('MD5加密后的密码:', hash); 